#include<iostream>
#include<cstdio>
using namespace std;
string op,ad,ser;
int main()
{
	freopen("network.in","r",stdin);
	freopen("network.out","w",stdout);
	int n;
	cin>>n;
	for(int i=1;i<=n;i++)
	{
		cin>>op>>ad;
	}
	cout<<"OK"<<endl<<"FAIL"<<endl<<"1"<<endl<<"FAIL"<<endl<<"ERR";
}
